<script setup lang="ts">

</script>

<template>
  <div>
    <h3>个人中心</h3>
    <router-link exact to="/my">我的购物车</router-link> |
    <router-link to="/my/info">个人信息</router-link>
    <router-view></router-view>
  </div>
</template>

<style scoped>
a{
  margin:5px;
  color:skyblue;
  &.router-link-active{
    color:red;
  }
}
</style>